const runtime._Gscan

36 uses

	runtime (current package)
		mgcmark.go#L735: 	if readgstatus(gp)&_Gscan == 0 {
		mgcmark.go#L740: 	switch readgstatus(gp) &^ _Gscan {
		panic.go#L1356: 	if status&^_Gscan != _Grunning || gp.syscallsp != 0 {
		preempt.go#L124: 			if s&_Gscan != 0 {
		preempt.go#L166: 			if !castogscanstatus(gp, s, s|_Gscan) {
		preempt.go#L269: 	case _Grunnable | _Gscan,
		preempt.go#L270: 		_Gwaiting | _Gscan,
		preempt.go#L271: 		_Gsyscall | _Gscan:
		preempt.go#L272: 		casfrom_Gscanstatus(gp, s, s&^_Gscan)
		preempt.go#L343: 	return (gp.preempt || gp.m.p != 0 && gp.m.p.ptr().preempt) && readgstatus(gp)&^_Gscan == _Grunning
		proc.go#L899: 	if status&^_Gscan != _Gwaiting {
		proc.go#L998: 		if newval == oldval&^_Gscan {
		proc.go#L1018: 		if newval == oldval|_Gscan {
		proc.go#L1043: 	if (oldval&_Gscan != 0) || (newval&_Gscan != 0) || oldval == newval {
		proc.go#L1156: 		oldstatus := readgstatus(gp) &^ _Gscan
		proc.go#L1171: 	if old != _Grunning || new != _Gscan|_Gpreempted {
		proc.go#L1175: 	for !gp.atomicstatus.CompareAndSwap(_Grunning, _Gscan|_Gpreempted) {
		proc.go#L2782: 	if status&^_Gscan != _Grunnable {
		proc.go#L3750: 	if status&^_Gscan != _Grunning {
		proc.go#L3799: 	if status&^_Gscan != _Grunning {
		proc.go#L3824: 	casGToPreemptScan(gp, _Grunning, _Gscan|_Gpreempted)
		proc.go#L3826: 	casfrom_Gscanstatus(gp, _Gscan|_Gpreempted, _Gpreempted)
		proc.go#L5442: 		switch s &^ _Gscan {
		runtime2.go#L100: 	_Gscan          = 0x1000
		runtime2.go#L101: 	_Gscanrunnable  = _Gscan + _Grunnable  // 0x1001
		runtime2.go#L102: 	_Gscanrunning   = _Gscan + _Grunning   // 0x1002
		runtime2.go#L103: 	_Gscansyscall   = _Gscan + _Gsyscall   // 0x1003
		runtime2.go#L104: 	_Gscanwaiting   = _Gscan + _Gwaiting   // 0x1004
		runtime2.go#L105: 	_Gscanpreempted = _Gscan + _Gpreempted // 0x1009
		signal_unix.go#L743: 		if crashing > 0 && gp != mp.curg && mp.curg != nil && readgstatus(mp.curg)&^_Gscan == _Grunning {
		stack.go#L1168: 	if s := readgstatus(gp); s&_Gscan == 0 {
		traceback.go#L860: 	if readgstatus(gp)&^_Gscan == _Gsyscall {
		traceback.go#L1188: 	isScan := gpstatus&_Gscan != 0
		traceback.go#L1189: 	gpstatus &^= _Gscan // drop the scan bit
		traceback.go#L1250: 		if gp.m != getg().m && readgstatus(gp)&^_Gscan == _Grunning {